<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>显示所有用户</title>
    <link rel="icon" type="image/x-icon" href="/images/速康logo.jpg" >
    <link rel="stylesheet" href="/css/reset.css" />
    <link rel="stylesheet" href="/css/content.css" />

</head>
<body marginwidth="0" marginheight="0">
<header>
    <%- include ../head.ejs %>
</header>


<div class="container">
    <div class="public-content">

        <div class="public-content-header">
            <h3>显示所有用户信息:</h3>
        </div>

        <div class="public-content-cont">
                <% if(users.length>0){%>
                <table class="public-cont-table">

                    <th style="width:20%;text-align: center">用户名</th>
                    <th style="width:20%;text-align: center">姓名</th>
                    <th style="width:20%;text-align: center">性别</th>
                    <th style="width:20%;text-align: center">出生日期</th>
                    <th style="width:20%;text-align: center">手机号</th>
                    <% for(var i=0;i<users.length;i++) {%>

                    <tr>
                         <td> <%=users[i].UserId%></td>

                         <td> <%=users[i].UserName%></td>
                         <td> <%=users[i].Gender%></td>
                         <td> <%=users[i].Birthday%></td>
                        <td> <%=users[i].Utel%></td>

                    </tr>
                    <% }%>
                </table>
                <% }%>
                </div>

    </div>
</div>



</body>
</html>